using System;

namespace UserInterface.Misc
{
    public class Counter
    {
        private int current = 0;

        public int Next()
        {
            return ++current;
        }

        public int Current
        {
            get { return current; }
            set { current = value; }
        }
    }
}
